babl: use _aligned_malloc() instead of aligned_alloc() on Win32.
authorJehan <jehan@girinstud.io>
Sat, 2 Sep 2017 12:18:07 +0000 (14:18 +0200)
committerJehan <jehan@girinstud.io>
Sat, 2 Sep 2017 12:18:07 +0000 (14:18 +0200)
commit5fa5653209ff96a9ebd7e421eaee6d46edee69d1
treecda04ba140aa8360a70d12485f9dddfeb0f53754
parentbb791e8e551aa920bfef565e9ba7b562aa8e4b89
babl: use _aligned_malloc() instead of aligned_alloc() on Win32.

Thanks to Lionel N. for raising the issue. It was failing to build for
Windows with:
> babl/babl-space.c:503: undefined reference to `aligned_alloc'
Windows has apparently a similar API, except that the size and alignment
parameters are inverted.
See https://msdn.microsoft.com/library/8z34s9c6.aspx
babl/babl-space.c